package bz.ziro.kanbe.controller.mng.agent;

import java.util.logging.Logger;
import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;

import bz.ziro.kanbe.dao.UserAgentDao;

/**
 * エージェントのソート
 * @author Administrator
 */
public class SortController extends Controller {

    @SuppressWarnings("unused")
    private static final Logger logger = Logger.getLogger(SortController.class.getName());

    @Override
    public Navigation run() {

    	//CSV形式の順序を取得
        String line = (String)requestScope("line");
        //優先度を変更する
        UserAgentDao.sortPriority(line);
        return null;
    }
}
